#include<iostream>
using namespace std;
int main()
{
	int i = 0, j = 0, sum = 0;
	for (i = 1; i < 10; i++)
	{
		for (j = 1; j <=i; j++)
		{
			sum = i * j;
			cout << i << "*" << j << "=" << sum;
			cout << "   ";
		}
		cout << endl;
	}
	return 0;
}